package com.lin.gram.service.graphService;

import com.lin.gram.dao.graphDao.InventorDao;
import com.lin.gram.pojo.graphPojo.Inventor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ChenweiLin
 * @create 2021-05-03 14:12
 */
@Service
public class InventorService {
    @Autowired
    InventorDao inventorDao;

    public Inventor findByName(String name){
        return inventorDao.findByName(name);
    }

}
